home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / shlguid.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  8.8 KB  |  228 lines

  1. //===========================================================================
  2. //
  3. // Copyright (c) Microsoft Corporation 1995-1997
  4. //
  5. // File: shlguid.h
  6. //
  7. //===========================================================================
  8.  
  9. #ifndef _SHLGUID_H_
  10. #define _SHLGUID_H_
  11. #pragma option push -b
  12.  
  13. #ifndef _WIN32_IE
  14. #define _WIN32_IE 0x0400
  15. #else
  16. #if (_WIN32_IE < 0x0400) && defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0500)
  17. #error _WIN32_IE setting conflicts with _WIN32_WINNT setting
  18. #endif
  19. #endif
  20.  
  21. //
  22. // For shell-reserved GUID
  23. //
  24. //  The Win95 Shell has been allocated a block of 256 GUIDs,
  25. // which follow the general format:
  26. //
  27. //  000214xx-0000-0000-C000-000000000046
  28. //
  29. //
  30. #define DEFINE_SHLGUID(name, l, w1, w2) DEFINE_GUID(name, l, w1, w2, 0xC0,0,0,0,0,0,0,0x46)
  31.  
  32.  
  33. //
  34. // Class IDs        xx=00-8F
  35. //
  36. DEFINE_SHLGUID(CLSID_ShellDesktop,      0x00021400L, 0, 0);
  37. DEFINE_SHLGUID(CLSID_ShellLink,         0x00021401L, 0, 0);
  38.  
  39.  
  40. #if (_WIN32_IE >= 0x0400)
  41. //
  42. // CatInformation IDs   xx=90-9F
  43. //
  44. DEFINE_SHLGUID(CATID_BrowsableShellExt, 0x00021490L, 0, 0);
  45. DEFINE_SHLGUID(CATID_BrowseInPlace,     0x00021491L, 0, 0);
  46. DEFINE_SHLGUID(CATID_DeskBand,          0x00021492L, 0, 0);
  47. DEFINE_SHLGUID(CATID_InfoBand,          0x00021493L, 0, 0);
  48. DEFINE_SHLGUID(CATID_CommBand,          0x00021494L, 0, 0);
  49. #endif
  50.  
  51. // Format IDs       xx=A0-CF
  52. DEFINE_SHLGUID(FMTID_Intshcut,          0x000214A0L, 0, 0);
  53. DEFINE_SHLGUID(FMTID_InternetSite,      0x000214A1L, 0, 0);
  54.  
  55. // command group ids xx=D0-DF
  56. DEFINE_SHLGUID(CGID_Explorer,           0x000214D0L, 0, 0);
  57. DEFINE_SHLGUID(CGID_ShellDocView,       0x000214D1L, 0, 0);
  58.  
  59. #if (_WIN32_IE >= 0x0400)
  60. DEFINE_SHLGUID(CGID_ShellServiceObject, 0x000214D2L, 0, 0);
  61. DEFINE_SHLGUID(CGID_ExplorerBarDoc,     0x000214D3L, 0, 0);
  62. #endif
  63.  
  64.  
  65.  
  66. //
  67. // Interface IDs    xx=E0-FF
  68. //
  69. DEFINE_SHLGUID(IID_INewShortcutHookA,   0x000214E1L, 0, 0);
  70. DEFINE_SHLGUID(IID_IShellBrowser,       0x000214E2L, 0, 0);
  71. DEFINE_SHLGUID(IID_IShellView,          0x000214E3L, 0, 0);
  72. DEFINE_SHLGUID(IID_IContextMenu,        0x000214E4L, 0, 0);
  73. DEFINE_SHLGUID(IID_IShellIcon,          0x000214E5L, 0, 0);
  74. DEFINE_SHLGUID(IID_IShellFolder,        0x000214E6L, 0, 0);
  75.  
  76. DEFINE_SHLGUID(IID_IShellExtInit,       0x000214E8L, 0, 0);
  77. DEFINE_SHLGUID(IID_IShellPropSheetExt,  0x000214E9L, 0, 0);
  78. DEFINE_SHLGUID(IID_IPersistFolder,      0x000214EAL, 0, 0);
  79. DEFINE_SHLGUID(IID_IExtractIconA,       0x000214EBL, 0, 0);
  80. DEFINE_SHLGUID(IID_IShellDetails,       0x000214ECL, 0, 0);
  81. DEFINE_SHLGUID(IID_IDelayedRelease,     0x000214EDL, 0, 0);
  82. DEFINE_SHLGUID(IID_IShellLinkA,         0x000214EEL, 0, 0);
  83. DEFINE_SHLGUID(IID_IShellCopyHookA,     0x000214EFL, 0, 0);
  84. DEFINE_SHLGUID(IID_IFileViewerA,        0x000214F0L, 0, 0);
  85. DEFINE_SHLGUID(IID_ICommDlgBrowser,     0x000214F1L, 0, 0);
  86. DEFINE_SHLGUID(IID_IEnumIDList,         0x000214F2L, 0, 0);
  87. DEFINE_SHLGUID(IID_IFileViewerSite,     0x000214F3L, 0, 0);
  88. DEFINE_SHLGUID(IID_IContextMenu2,       0x000214F4L, 0, 0);
  89. DEFINE_SHLGUID(IID_IShellExecuteHookA,  0x000214F5L, 0, 0);
  90. DEFINE_SHLGUID(IID_IPropSheetPage,      0x000214F6L, 0, 0);
  91. DEFINE_SHLGUID(IID_INewShortcutHookW,   0x000214F7L, 0, 0);
  92. DEFINE_SHLGUID(IID_IFileViewerW,        0x000214F8L, 0, 0);
  93. DEFINE_SHLGUID(IID_IShellLinkW,         0x000214F9L, 0, 0);
  94. DEFINE_SHLGUID(IID_IExtractIconW,       0x000214FAL, 0, 0);
  95. DEFINE_SHLGUID(IID_IShellExecuteHookW,  0x000214FBL, 0, 0);
  96. DEFINE_SHLGUID(IID_IShellCopyHookW,     0x000214FCL, 0, 0);
  97. DEFINE_SHLGUID(IID_IRemoteComputerA,    0x000214FDL, 0, 0);
  98. DEFINE_SHLGUID(IID_IRemoteComputerW,    0x000214FEL, 0, 0);
  99.  
  100. #if (_WIN32_IE >= 0x0400)
  101. DEFINE_SHLGUID(IID_IQueryInfo,          0x00021500L, 0, 0);
  102. #endif
  103.  
  104. DEFINE_GUID(IID_IBriefcaseStg,          0x8BCE1FA1L, 0x0921, 0x101B, 0xB1, 0xFF, 0x00, 0xDD, 0x01, 0x0C, 0xCC, 0x48);
  105. DEFINE_GUID(IID_IShellView2,            0x88E39E80L, 0x3578, 0x11CF, 0xAE, 0x69, 0x08, 0x00, 0x2B, 0x2E, 0x12, 0x62);
  106.  
  107. #if (_WIN32_IE >= 0x0400)
  108. DEFINE_GUID(IID_IURLSearchHook,         0xAC60F6A0L, 0x0FD9, 0x11D0, 0x99, 0xCB, 0x00, 0xC0, 0x4F, 0xD6, 0x44, 0x97);
  109. DEFINE_GUID(IID_IDelegateFolder,        0xADD8BA80L, 0x002B, 0x11D0, 0x8F, 0x0F, 0x00, 0xC0, 0x4F, 0xD7, 0xD0, 0x62);
  110.  
  111. DEFINE_GUID(IID_IInputObject,           0x68284faa, 0x6a48, 0x11d0, 0x8c, 0x78, 0x0, 0xc0, 0x4f, 0xd9, 0x18, 0xb4);
  112. DEFINE_GUID(IID_IInputObjectSite,       0xf1db8392, 0x7331, 0x11d0, 0x8c, 0x99, 0x0, 0xa0, 0xc9, 0x2d, 0xbf, 0xe8);
  113.  
  114. DEFINE_GUID(IID_IDockingWindow,         0x12dd920, 0x7b26, 0x11d0, 0x8c, 0xa9, 0x0, 0xa0, 0xc9, 0x2d, 0xbf, 0xe8);
  115. DEFINE_GUID(IID_IDockingWindowSite,     0x2a342fc2, 0x7b26, 0x11d0, 0x8c, 0xa9, 0x0, 0xa0, 0xc9, 0x2d, 0xbf, 0xe8);
  116. DEFINE_GUID(IID_IDockingWindowFrame,    0x47d2657a, 0x7b27, 0x11d0, 0x8c, 0xa9, 0x0, 0xa0, 0xc9, 0x2d, 0xbf, 0xe8);
  117.  
  118. DEFINE_GUID(IID_IShellIconOverlay,      0x7D688A70L, 0xC613, 0x11D0, 0x99, 0x9B, 0x00, 0xC0, 0x4F, 0xD6, 0x55, 0xE1);
  119. DEFINE_GUID(IID_IShellIconOverlayManager, 0x63B51F80L, 0xC868, 0x11D0, 0x99, 0x9C, 0x00, 0xC0, 0x4F, 0xD6, 0x55, 0xE1);
  120. DEFINE_GUID(IID_IShellIconOverlayIdentifier,  0x0C6C4200L, 0xC589, 0x11D0, 0x99, 0x9A, 0x00, 0xC0, 0x4F, 0xD6, 0x55, 0xE1);
  121.  
  122. // {1AC3D9F0-175C-11d1-95BE-00609797EA4F}
  123. DEFINE_GUID(IID_IPersistFolder2,        0x1ac3d9f0, 0x175c, 0x11d1, 0x95, 0xbe, 0x0, 0x60, 0x97, 0x97, 0xea, 0x4f);
  124.  
  125. // {63B51F81-C868-11D0-999C-00C04FD655E1}
  126. DEFINE_GUID(CLSID_CFSIconOverlayManager, 0x63B51F81L, 0xC868, 0x11D0, 0x99, 0x9C, 0x00, 0xC0, 0x4F, 0xD6, 0x55, 0xE1);
  127.  
  128. // Shell Icon Overlay Identifiers
  129. // {7D688A77-C613-11D0-999B-00C04FD655E1}
  130. DEFINE_GUID(CLSID_OverlayIdentifier_SlowFile, 0x7D688A77L, 0xC613, 0x11D0, 0x99, 0x9B, 0x00, 0xC0, 0x4F, 0xD6, 0x55, 0xE1);
  131.  
  132.  
  133. // {BCFCE0A0-EC17-11d0-8D10-00A0C90F2719}
  134. DEFINE_GUID(IID_IContextMenu3,          0xbcfce0a0, 0xec17, 0x11d0, 0x8d, 0x10, 0x0, 0xa0, 0xc9, 0xf, 0x27, 0x19);
  135.  
  136.  
  137. /// DeskBar stuff
  138. DEFINE_GUID(IID_IDeskBand,              0xEB0FE172L, 0x1A3A, 0x11D0, 0x89, 0xB3, 0x00, 0xA0, 0xC9, 0x0A, 0x90, 0xAC);
  139. #define CGID_DeskBand IID_IDeskBand
  140. #ifdef ISHELLTOOLBAND_COMPAT
  141. DEFINE_GUID(IID_IShellToolband,         0xEB0FE171L, 0x1A3A, 0x11D0, 0x89, 0xB3, 0x00, 0xA0, 0xC9, 0x0A, 0x90, 0xAC);
  142. #endif
  143. #endif
  144.  
  145.  
  146. #define SID_SShellBrowser IID_IShellBrowser
  147. #if (_WIN32_IE >= 0x0400)
  148. #define SID_SShellDesktop CLSID_ShellDesktop
  149. #endif
  150.  
  151. //
  152. //  IShellDiscardable is an IID-only interface. If the object supports this
  153. // interface it can be discarded anytime. IWebBrowser::PutProperty QI's for
  154. // this interface to detect discardable properties. 
  155. //
  156. DEFINE_GUID(IID_IDiscardableBrowserProperty, 0x49c3de7c, 0xd329, 0x11d0, 0xab, 0x73, 0x00, 0xc0, 0x4f, 0xc3, 0x3e, 0x80);
  157.  
  158. #ifdef UNICODE
  159. #define IID_IFileViewer         IID_IFileViewerW
  160. #define IID_IShellLink          IID_IShellLinkW
  161. #define IID_IExtractIcon        IID_IExtractIconW
  162. #define IID_IShellCopyHook      IID_IShellCopyHookW
  163. #define IID_IShellExecuteHook   IID_IShellExecuteHookW
  164. #define IID_INewShortcutHook    IID_INewShortcutHookW
  165. #else
  166. #define IID_IFileViewer         IID_IFileViewerA
  167. #define IID_IShellLink          IID_IShellLinkA
  168. #define IID_IExtractIcon        IID_IExtractIconA
  169. #define IID_IShellCopyHook      IID_IShellCopyHookA
  170. #define IID_IShellExecuteHook   IID_IShellExecuteHookA
  171. #define IID_INewShortcutHook    IID_INewShortcutHookA
  172. #endif
  173.  
  174.  
  175. #ifndef NO_INTSHCUT_GUIDS
  176. // Include internet shortcut GUIDs
  177. #include <isguids.h>
  178. #endif
  179.  
  180. #ifndef NO_SHDOCVW_GUIDS
  181.  
  182. #include <exdisp.h>
  183.  
  184.  
  185. #if (_WIN32_IE >= 0x0400)
  186. // UrlHistory Guids
  187. DEFINE_GUID(CLSID_CUrlHistory,          0x3C374A40L, 0xBAE4, 0x11CF, 0xBF, 0x7D, 0x00, 0xAA, 0x00, 0x69, 0x46, 0xEE);
  188. #define SID_SUrlHistory         CLSID_CUrlHistory
  189.  
  190. //UrlSearchHook Guids
  191. DEFINE_GUID(CLSID_CURLSearchHook,       0xCFBFAE00L, 0x17A6, 0x11D0, 0x99, 0xCB, 0x00, 0xC0, 0x4F, 0xD6, 0x44, 0x97);
  192.  
  193.  
  194. #define SID_SInternetExplorer IID_IWebBrowserApp
  195. #define SID_SWebBrowserApp    IID_IWebBrowserApp
  196.  
  197.  
  198. //
  199. // Top-most browser implementation in the heirarchy. use IServiceProvider::QueryService()
  200. // to get to interfaces (IID_IShellBrowser, IID_IBrowserService, etc.)
  201. //
  202. DEFINE_GUID(SID_STopLevelBrowser,       0x4C96BE40L, 0x915C, 0x11CF, 0x99, 0xD3, 0x00, 0xAA, 0x00, 0x4A, 0xE8, 0x37);
  203.  
  204. #endif
  205.  
  206. #endif
  207.  
  208.  
  209. #if (_WIN32_IE >= 0x0400)
  210.  
  211. // {75048700-EF1F-11D0-9888-006097DEACF9}
  212. DEFINE_GUID( CLSID_ActiveDesktop, 0x75048700L, 0xEF1F, 0x11D0, 0x98, 0x88, 0x00, 0x60, 0x97, 0xDE, 0xAC, 0xF9);
  213.  
  214. // {F490EB00-1240-11D1-9888-006097DEACF9}
  215. DEFINE_GUID(IID_IActiveDesktop, 0xF490EB00L, 0x1240, 0x11D1, 0x98, 0x88, 0x00, 0x60, 0x97, 0xDE, 0xAC, 0xF9);
  216.  
  217.  
  218. // {56FDF344-FD6D-11d0-958A-006097C9A090}
  219. DEFINE_GUID(CLSID_TaskbarList, 0x56fdf344, 0xfd6d, 0x11d0, 0x95, 0x8a, 0x0, 0x60, 0x97, 0xc9, 0xa0, 0x90);
  220.  
  221. // {56FDF342-FD6D-11d0-958A-006097C9A090}
  222. DEFINE_GUID(IID_ITaskbarList, 0x56fdf342, 0xfd6d, 0x11d0, 0x95, 0x8a, 0x0, 0x60, 0x97, 0xc9, 0xa0, 0x90);
  223.  
  224. #endif  // _WIN32_IE
  225.  
  226. #pragma option pop
  227. #endif // _SHLGUID_H_
  228.